/* -----------------------系统配置/系统常量定义------------------------ */
var G_CONTEXT_PATH = "/ipw";

var HEADER = {
    /*"logo": "./public/images/logo.png",
    "icons": ["icon-apps"],
    "userImage": "./public/images/user.png",
    "userInfo": {
        "image": "http://csres.wisedu.com/scenes/public/images/demo/user1.png",
        "info": [
            (sessionStorage.getItem("userId")?sessionStorage.getItem("userId"):"")
        ],  
        "logoutHref": G_CONTEXT_PATH + "/logout"
    },
    "nav": [{
        "title": "首页管理",
        "hide": false,
        "active": true,
        "href": "#/appstore_manage",
        "attribute": [{
            "key": "data-flag",
            "value": "nav"
        }]
    }, {
        "title": "流量监控",
        "hide": false,
        "active": false,
        "href": "#/traffic_inspecting",
        "attribute": [{
            "key": "data-flag",
            "value": "nav"
        }]
    }]*/
};

var G_MOCK_CONTEXT_PATH = "../app/mock";

module.exports = {
    HEADER: HEADER,
    /**
     * 部署上下文跟路径
     */
    CONTEXT_PATH: G_CONTEXT_PATH
};